package com.yellow.courierservice.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("courier_profiles")
public class CourierProfile {

    @TableId(value = "courier_id",type = IdType.AUTO)
    private Integer courierId;

    @TableField("name")
    private String name;

    @TableField("phone")
    private String phone;

    @TableField("id_number")
    private String idNumber;

    @TableField("home_address")
    private String homeAddress;
}
